// GENERATED AUTOMATICALLY FROM 'Assets/Settings/Input/InputActions.inputactions'

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Utilities;

public class @InputActions : IInputActionCollection, IDisposable
{
    public InputActionAsset asset { get; }
    public @InputActions()
    {
        asset = InputActionAsset.FromJson(@"{
    ""name"": ""InputActions"",
    ""maps"": [
        {
            ""name"": ""StoryPlaying"",
            ""id"": ""bacfb168-ec56-4c5d-bc74-b8799563da06"",
            ""actions"": [
                {
                    ""name"": ""StoryPlay"",
                    ""type"": ""Button"",
                    ""id"": ""0d91b27e-311c-4cae-9581-f2213ef8ba8a"",
                    ""expectedControlType"": ""Button"",
                    ""processors"": """",
                    ""interactions"": """"
                }
            ],
            ""bindings"": [
                {
                    ""name"": """",
                    ""id"": ""565f78d5-79d2-4605-a2a1-f3c405a2a6d8"",
                    ""path"": ""<Mouse>/leftButton"",
                    ""interactions"": """",
                    ""processors"": """",
                    ""groups"": """",
                    ""action"": ""StoryPlay"",
                    ""isComposite"": false,
                    ""isPartOfComposite"": false
                }
            ]
        },
        {
            ""name"": ""CharactorMoving"",
            ""id"": ""fa6c3715-ca56-4e87-a004-4568619c6075"",
            ""actions"": [
                {
                    ""name"": ""CharactorMove"",
                    ""type"": ""Value"",
                    ""id"": ""42188380-c77f-4a7e-931d-9cae7fd73478"",
                    ""expectedControlType"": ""Vector2"",
                    ""processors"": """",
                    ""interactions"": """"
                }
            ],
            ""bindings"": [
                {
                    ""name"": ""WASD"",
                    ""id"": ""3f43e659-f92f-4698-af0a-e39d3f3cb7ee"",
                    ""path"": ""2DVector"",
                    ""interactions"": """",
                    ""processors"": """",
                    ""groups"": """",
                    ""action"": ""CharactorMove"",
                    ""isComposite"": true,
                    ""isPartOfComposite"": false
                },
                {
                    ""name"": ""up"",
                    ""id"": ""a4c1d535-d332-4080-99f1-366dd40a315c"",
                    ""path"": ""<Keyboard>/w"",
                    ""interactions"": """",
                    ""processors"": """",
                    ""groups"": """",
                    ""action"": ""CharactorMove"",
                    ""isComposite"": false,
                    ""isPartOfComposite"": true
                },
                {
                    ""name"": ""down"",
                    ""id"": ""7db7758f-1ea2-45b4-b0b6-9f6357a13b07"",
                    ""path"": ""<Keyboard>/s"",
                    ""interactions"": """",
                    ""processors"": """",
                    ""groups"": """",
                    ""action"": ""CharactorMove"",
                    ""isComposite"": false,
                    ""isPartOfComposite"": true
                },
                {
                    ""name"": ""left"",
                    ""id"": ""547c1f88-ace4-49a9-aafe-5e364ac554d1"",
                    ""path"": ""<Keyboard>/a"",
                    ""interactions"": """",
                    ""processors"": """",
                    ""groups"": """",
                    ""action"": ""CharactorMove"",
                    ""isComposite"": false,
                    ""isPartOfComposite"": true
                },
                {
                    ""name"": ""right"",
                    ""id"": ""236b3c80-0a31-4605-80a8-fcc83a306bf8"",
                    ""path"": ""<Keyboard>/d"",
                    ""interactions"": """",
                    ""processors"": """",
                    ""groups"": """",
                    ""action"": ""CharactorMove"",
                    ""isComposite"": false,
                    ""isPartOfComposite"": true
                }
            ]
        }
    ],
    ""controlSchemes"": []
}");
        // StoryPlaying
        m_StoryPlaying = asset.FindActionMap("StoryPlaying", throwIfNotFound: true);
        m_StoryPlaying_StoryPlay = m_StoryPlaying.FindAction("StoryPlay", throwIfNotFound: true);
        // CharactorMoving
        m_CharactorMoving = asset.FindActionMap("CharactorMoving", throwIfNotFound: true);
        m_CharactorMoving_CharactorMove = m_CharactorMoving.FindAction("CharactorMove", throwIfNotFound: true);
    }

    public void Dispose()
    {
        UnityEngine.Object.Destroy(asset);
    }

    public InputBinding? bindingMask
    {
        get => asset.bindingMask;
        set => asset.bindingMask = value;
    }

    public ReadOnlyArray<InputDevice>? devices
    {
        get => asset.devices;
        set => asset.devices = value;
    }

    public ReadOnlyArray<InputControlScheme> controlSchemes => asset.controlSchemes;

    public bool Contains(InputAction action)
    {
        return asset.Contains(action);
    }

    public IEnumerator<InputAction> GetEnumerator()
    {
        return asset.GetEnumerator();
    }

    IEnumerator IEnumerable.GetEnumerator()
    {
        return GetEnumerator();
    }

    public void Enable()
    {
        asset.Enable();
    }

    public void Disable()
    {
        asset.Disable();
    }

    // StoryPlaying
    private readonly InputActionMap m_StoryPlaying;
    private IStoryPlayingActions m_StoryPlayingActionsCallbackInterface;
    private readonly InputAction m_StoryPlaying_StoryPlay;
    public struct StoryPlayingActions
    {
        private @InputActions m_Wrapper;
        public StoryPlayingActions(@InputActions wrapper) { m_Wrapper = wrapper; }
        public InputAction @StoryPlay => m_Wrapper.m_StoryPlaying_StoryPlay;
        public InputActionMap Get() { return m_Wrapper.m_StoryPlaying; }
        public void Enable() { Get().Enable(); }
        public void Disable() { Get().Disable(); }
        public bool enabled => Get().enabled;
        public static implicit operator InputActionMap(StoryPlayingActions set) { return set.Get(); }
        public void SetCallbacks(IStoryPlayingActions instance)
        {
            if (m_Wrapper.m_StoryPlayingActionsCallbackInterface != null)
            {
                @StoryPlay.started -= m_Wrapper.m_StoryPlayingActionsCallbackInterface.OnStoryPlay;
                @StoryPlay.performed -= m_Wrapper.m_StoryPlayingActionsCallbackInterface.OnStoryPlay;
                @StoryPlay.canceled -= m_Wrapper.m_StoryPlayingActionsCallbackInterface.OnStoryPlay;
            }
            m_Wrapper.m_StoryPlayingActionsCallbackInterface = instance;
            if (instance != null)
            {
                @StoryPlay.started += instance.OnStoryPlay;
                @StoryPlay.performed += instance.OnStoryPlay;
                @StoryPlay.canceled += instance.OnStoryPlay;
            }
        }
    }
    public StoryPlayingActions @StoryPlaying => new StoryPlayingActions(this);

    // CharactorMoving
    private readonly InputActionMap m_CharactorMoving;
    private ICharactorMovingActions m_CharactorMovingActionsCallbackInterface;
    private readonly InputAction m_CharactorMoving_CharactorMove;
    public struct CharactorMovingActions
    {
        private @InputActions m_Wrapper;
        public CharactorMovingActions(@InputActions wrapper) { m_Wrapper = wrapper; }
        public InputAction @CharactorMove => m_Wrapper.m_CharactorMoving_CharactorMove;
        public InputActionMap Get() { return m_Wrapper.m_CharactorMoving; }
        public void Enable() { Get().Enable(); }
        public void Disable() { Get().Disable(); }
        public bool enabled => Get().enabled;
        public static implicit operator InputActionMap(CharactorMovingActions set) { return set.Get(); }
        public void SetCallbacks(ICharactorMovingActions instance)
        {
            if (m_Wrapper.m_CharactorMovingActionsCallbackInterface != null)
            {
                @CharactorMove.started -= m_Wrapper.m_CharactorMovingActionsCallbackInterface.OnCharactorMove;
                @CharactorMove.performed -= m_Wrapper.m_CharactorMovingActionsCallbackInterface.OnCharactorMove;
                @CharactorMove.canceled -= m_Wrapper.m_CharactorMovingActionsCallbackInterface.OnCharactorMove;
            }
            m_Wrapper.m_CharactorMovingActionsCallbackInterface = instance;
            if (instance != null)
            {
                @CharactorMove.started += instance.OnCharactorMove;
                @CharactorMove.performed += instance.OnCharactorMove;
                @CharactorMove.canceled += instance.OnCharactorMove;
            }
        }
    }
    public CharactorMovingActions @CharactorMoving => new CharactorMovingActions(this);
    public interface IStoryPlayingActions
    {
        void OnStoryPlay(InputAction.CallbackContext context);
    }
    public interface ICharactorMovingActions
    {
        void OnCharactorMove(InputAction.CallbackContext context);
    }
}
